package com.last1mile.dao.interfaces;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.last1mile.pojo.MerServeDO;

@Repository
public interface MerServeDao {

    Integer insertServe(MerServeDO merServeDo);

    List<MerServeDO> queryServeByMerId(Integer merId);

    List<MerServeDO> queryServeByAddrExceptUser(MerServeDO merServeDo);

    MerServeDO queryServeById(Integer serveId);
    
    List<MerServeDO> queryServesByIdList(List<Integer> ids);
}
